cod_percent_chance

Syntax

native cod_percent_chance(percent);

Usage

percent
Percentage change for success

Description

Returns random bool with specified percentage chance for success (true).

Returns

1 if success, 0 otherwise